import React from "react"
import ReactDOM from 'react-dom';
import * as serviceWorker from './serviceWorker';
import ToDoList from "./TodoList"
import store from "./store"
import {Provider} from "react-redux"
//redux 使用
ReactDOM.render(
    <Provider store={store}>
        <ToDoList/>
    </Provider>,
    document.getElementById('root')
);
serviceWorker.unregister();
  